var express = require('express');
var router = express.Router();
var client = require('../cache/redis');

/* GET users listing. */
router.get('/', function(req, res, next) {
  // console.info('client=',client);
  client.select(0,function(err,success){
  	console.info("err：",err);
  	console.info("success",success);
  	console.info("ddd",ddd);
  });
  
  client.select(0)
  	.then(function(){

  	});
  var obj = client.keys("idx_*",function(err,values){
  	// console.info('obj',values);
  });
  res.send('respond with a resource');
});

module.exports = router;